package com.version1_3.model;

import com.alibaba.fastjson.JSON;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by reeves on 2015/12/23.
 */
public class RecomPageModel implements JsonSerializable{
    private List<Map> recomList = null;

    public RecomPageModel(){

    }

    public RecomPageModel(List<Map> recomList){
        this.recomList = recomList;
    }


    @Override
    public String jsonSerialize() {
        Map<String,Object> recomMap = new HashMap<>();
        recomMap.put("recomList",recomList);
        return JSON.toJSONString(recomMap);
    }
}
